package pub.tbc.toolkit.web.config.rest.service;

import pub.tbc.toolkit.exception.GlobalException;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 *
 * @author tbc tianbencai@e-eduspace.com
 * @version 1.0 {2016年5月18日 下午2:19:09}
 */
public interface ConfigService {

	Map<String, Set<String>> fileList() throws GlobalException;

	Map<String, List<String>> propKeysByFile(String file) throws GlobalException;

	Map<String, Map<String, String>> propsByFile(String file) throws GlobalException;

	Map<String, String> refresh() throws GlobalException;

	// Map<String, String> update(Map<String, String> param) throws
	// GlobalException;
	Map<String, String> update(String configFile, String propName, String value) throws GlobalException;

}
